#include <math.h>
#include <stdio.h>

void main() {
  FILE * arq = NULL;
  int j;
  float nota;
	
  if((arq = fopen("arq_702_1.txt","w")) != NULL) {
	for(j = 0; j < 3; j++) {
	  printf("Nota %d:\n", j + 1);
	  scanf("%f", &nota);
      fprintf(arq, "%f\t", nota);
	}
	fprintf(arq,"\n");		
	fclose(arq);			
  }
}
